﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NRemedy
{
    /// <summary>
    /// define the behavior of ARServer
    /// </summary>
    public interface IARServer
    {
        BMC.ARSystem.Server Server { get; }
        string CreateEntry(ARForm entry);
        void GetEntry(ARForm entry);
        void SetEntry(ARForm entry, FieldValueSet set);
        IEnumerable<BMC.ARSystem.ARForm> GetListForm(ARFormFilterDelegate formFilter);
        IEnumerable<BMC.ARSystem.Field> GetListField(string formName,ARFieldFilterDelegate fieldFilter);
        bool LogIn(ARLogInRequestContext loginInfo);
        void LogOut();
    }
}
